#!/bin/bash

while read -r line; do
    echo "$line" | cut -d# -f1
    echo "$line" | cut -d# -f2
    echo "$line" | cut -d# -f3
    echo "$line" | cut -d# -f4
    echo "$line" | cut -d# -f5
    echo "$line" | cut -d# -f6
    echo "$line" | cut -d# -f7
    echo
done | sed "s|;|#|g; s/\\\#/;/g; s| $||g"
